 <div style="background: #ffffff;">
 <header>
 <div id="header">
    <div class="top-header">
			<span class="f-r" style="margin-left: 20px;">
				<a href="javascript:;" style="color: #6eb012;font-weight: bold;">登录</a>
				<a href="javascript:;" style="color: #6eb012;font-weight: bold;">注册</a>
			</span>
			
      <span class="f-l">
      	<!-- <s class="date ie6_png32"></s> -->
      	<em id="echoData"></em> |
      </span>
			<span class="f-l">
				<em>欢迎来到{$SEO['site_title']}！</em>
			</span>
    </div>
  </div>
</header>
<div class="nav-bar">
	<div class="d-flex">
		<div class="f-l">
			<a href="{siteurl($siteid)}/">
				<img src="{IMG_PATH}logo.jpg" alt="{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}" width="250" height="51" class="ie6_png32" />
			</a>
		</div>
		<div class="f-l navigation_bar">
			<!-- 导航1 -->
			{pc:content action="category" catid="28" num="16" siteid="$siteid" order="listorder ASC"}
				<ul class="nav-site" style="overflow: hidden;">
				{loop $data $r}
					<li class="navList"><a href="{$r[url]}"><span>{$r[catname]}</span></a></li>
				{/loop}
				</ul>
			{/pc}
		</div>
	</div>
  <div class="clear"></div>
</div>
  <!--导航栏-->
  <!-- <div class="nav clearfix"> -->
	<div class="nav-bar2">
		<!-- 导航2 -->
		{pc:content action="category" catid="29" num="25" siteid="$siteid" order="listorder ASC"}
			<ul class="navBar2">
			{loop $data $r}
				<li><a href="{$r[url]}">{$r[catname]}</a></li>
			{/loop}
			</ul>
		{/pc}
    
  </div>
</div>
	<script type="text/javascript">
		function time()
		{
		  var now= new Date();
		  var year=now.getFullYear();
		  var month=now.getMonth();
		  var date=now.getDate();
		  var week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
		  var echoweek = week[now.getDay()];
		
		  //写入相应id
		  document.getElementById("echoData").innerHTML="今天是 "+year+"年"+(month+1)+"月"+date+"日"+"&nbsp;&nbsp;"+echoweek;
		}
		time();
	</script>
	
	
	<script type="text/javascript">
		function browserRedirect() {
			var sUserAgent = navigator.userAgent.toLowerCase();
			var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
			var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
			var bIsMidp = sUserAgent.match(/midp/i) == "midp";
			var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
			var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
			var bIsAndroid = sUserAgent.match(/android/i) == "android";
			var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
			var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
			if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
				window.location.href="{APP_PATH}index.php?m=wap&siteid=1&pc_hash=LwgCHu";
			}
		}
		browserRedirect();
	</script>
